angular.module('app')
    .config(['$locationProvider', '$routeProvider', function ($locationProvider, $routeProvider) {

        $routeProvider
            .when('/show', {
                templateUrl: 'demo/demo.list.html',
                controller: 'demo'
            })   
            .when('/showStu',{
                templateUrl:'student/student.list.html',
                controller:'studentListCtl'
            })
            .when('/stuadd',{
                templateUrl:'student/student.add.html',
                controller:'saveStu'
            })        
            .otherwise('/')
    }
])
